/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.score.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党员申请积分明细Entity
 * 
 * @author ygl
 * @version 2017-09-03
 */
public class OrganizePersonDetail extends DataEntity<OrganizePersonDetail> {

	private static final long serialVersionUID = 1L;
	private String organizeId; // 党组织ID
	private String organizeLifeId; // 组织生活ID
	private String applyScore; // apply_score
	private String checkScore; // check_score
	private String scoreMode; // 分值方式（固定/自设）
	private String status; // 状态（同意/不同意）
	private String personId; // person_id
	private Date signDate; // 记录时间
	private String signMode; // 录入方式
	private String sex; // 性别
	private String column1; // 年份
	private String column2; // 党员姓名
	private String personAssessmentInfoId;// 积分iD
	private String type;//类型（加分/减分）

	private String personAssessmentInfoTitle;// 积分内容名称
	private String isUpperStatus;// 是否超过上限
	private String totalScore;// 党员年度总分
	private String defaultScore;//默认分数
	
	private String isBatch;//是否批量
	private String ids;
	
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getIsBatch() {
		return isBatch;
	}

	public void setIsBatch(String isBatch) {
		this.isBatch = isBatch;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDefaultScore() {
		return defaultScore;
	}

	public void setDefaultScore(String defaultScore) {
		this.defaultScore = defaultScore;
	}

	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	public String getIsUpperStatus() {
		return isUpperStatus;
	}

	public void setIsUpperStatus(String isUpperStatus) {
		this.isUpperStatus = isUpperStatus;
	}

	public String getPersonAssessmentInfoTitle() {
		return personAssessmentInfoTitle;
	}

	public void setPersonAssessmentInfoTitle(String personAssessmentInfoTitle) {
		this.personAssessmentInfoTitle = personAssessmentInfoTitle;
	}

	public OrganizePersonDetail() {
		super();
	}

	public OrganizePersonDetail(String id) {
		super(id);
	}

	@Length(min = 1, max = 64, message = "党组织ID长度必须介于 1 和 32 之间")
	public String getOrganizeId() {
		return organizeId;
	}

	public void setOrganizeId(String organizeId) {
		this.organizeId = organizeId;
	}

	@Length(min = 1, max = 64, message = "组织生活ID长度必须介于 1 和 32 之间")
	public String getOrganizeLifeId() {
		return organizeLifeId;
	}

	public void setOrganizeLifeId(String organizeLifeId) {
		this.organizeLifeId = organizeLifeId;
	}

	@Length(min = 0, max = 32, message = "apply_score长度必须介于 0 和 32 之间")
	public String getApplyScore() {
		return applyScore;
	}

	public void setApplyScore(String applyScore) {
		this.applyScore = applyScore;
	}

	@Length(min = 0, max = 32, message = "check_score长度必须介于 0 和 32 之间")
	public String getCheckScore() {
		return checkScore;
	}

	public void setCheckScore(String checkScore) {
		this.checkScore = checkScore;
	}

	@Length(min = 0, max = 32, message = "分值方式（固定/自设）长度必须介于 0 和 32 之间")
	public String getScoreMode() {
		return scoreMode;
	}

	public void setScoreMode(String scoreMode) {
		this.scoreMode = scoreMode;
	}

	@Length(min = 0, max = 1, message = "状态（同意/不同意）长度必须介于 0 和 1 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Length(min = 0, max = 64, message = "person_id长度必须介于 0 和 32 之间")
	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message = "记录时间不能为空")
	public Date getSignDate() {
		return signDate;
	}

	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}

	public String getSignMode() {
		return signMode;
	}

	public void setSignMode(String signMode) {
		this.signMode = signMode;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Length(min = 0, max = 32, message = "column_1长度必须介于 0 和 32 之间")
	public String getColumn1() {
		return column1;
	}

	public void setColumn1(String column1) {
		this.column1 = column1;
	}

	@Length(min = 0, max = 32, message = "column_2长度必须介于 0 和 32 之间")
	public String getColumn2() {
		return column2;
	}

	public void setColumn2(String column2) {
		this.column2 = column2;
	}

	public String getPersonAssessmentInfoId() {
		return personAssessmentInfoId;
	}

	public void setPersonAssessmentInfoId(String personAssessmentInfoId) {
		this.personAssessmentInfoId = personAssessmentInfoId;
	}
}